package com.geostar.constructionland.common.entity.biz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

/**
 * @author yelll
 * @since 2020-6-12 14:17
 * 地块信息
 **/
@ApiModel("地块信息")
@TableName("jsyd_dkxx")
@Data
public class PieceLandInfo {
    @JsonProperty("DK_ID")
    @ApiModelProperty("地块ID")
    @TableId(value = "dkid",type = IdType.ASSIGN_ID)
    private String dkid;
    @JsonIgnore
    @ApiModelProperty("地块编号")
    @TableField("dkbh")
    private String dkbh;
    @JsonIgnore
    @ApiModelProperty("地块名称")
    @TableField("dkmc")
    private String dkmc;
    @JsonProperty("DK_MJ")
    @ApiModelProperty("地块面积")
    @TableField("dkmj")
    private double dkmj;
    @JsonIgnore
    @ApiModelProperty("地块用途")
    @TableField("dkyt")
    private String dkyt;
    @JsonIgnore
    @ApiModelProperty("图幅号")
    @TableField("tfh")
    private String tfh;
    @JsonIgnore
    @ApiModelProperty("界址点数")
    @TableField("jzds")
    private String jzds;
    @JsonIgnore
    @ApiModelProperty("勘测定界ID")
    @TableField("kcdjid")
    private String kcdjid;
    @JsonIgnore
    @ApiModelProperty("序号")
    @TableField("xh")
    private String xh;
    @JsonIgnore
    @ApiModelProperty("原始地块面积")
    @TableField("dkmj_ys")
    private double dkmjYs;
    @JsonIgnore
    @ApiModelProperty("是否涉及到三地")
    @TableField("sfsjsd")
    private int sfsjsd;
    @JsonIgnore
    @ApiModelProperty("调入调出")
    @TableField("dksx")
    private String dksx;
    @JsonIgnore
    @ApiModelProperty("geojson")
    @TableField(exist = false,jdbcType = JdbcType.CLOB)
    private String yzGeoJson;
}
